import {createEnum} from "./util";

interface Storage {
    MENU_SELECT_KEY: string; // 菜单选中缓存
    AUTHORIZATION: string; // 身份令牌
}

// sessionStorage 缓存名称
export const STORAGE: Storage = createEnum({
    MENU_SELECT_KEY: "MENU_SELECT_KEY", // 菜单选中缓存
    AUTHORIZATION: "AUTHORIZATION", // 身份令牌
});
// localStorage 缓存名称
export const LOCAL_STORAGE = createEnum({});
